from build_feature.extract_npm_different_version_functions.core.git_repository import GitRepository
from build_feature.extract_npm_different_version_functions.js_handle_module.js_function_info_extractor import JSAndTSFunctionInfoExtractor


class GitRepositoryFactory:

    @staticmethod
    def parser_js_git_repository(repository_path):
        return GitRepository(repository_path, JSAndTSFunctionInfoExtractor())
